package com.yaoli.interfaceTest;

/**
 * Created by will on 2017/6/17.
 */
public class Test implements InterfaceT1,InterfaceT2 {
    @Override
    public void say(String v1) {
        System.out.println(v1);
    }


    public static void main(String[] args) {
        InterfaceT2 t2 = new Test();

        System.out.println(t2 instanceof InterfaceT2);

        System.out.println(t2 instanceof InterfaceT1);


    }
}
